using System;
using System.Collections.Generic;
using System.Text;
using WCSFContrib.PageFlow;

namespace PageFlowQuickstart.Modules.Customers.Tests.Mocks
{
    public class MockPageFlowProvider : IPageFlowProvider
    {
        public IPageFlow Instance = null;
        public Type TypeRequested = null;

        public IPageFlow GetPageFlow(Type pageFlowType)
        {
            TypeRequested = pageFlowType;
            return Instance;
        }

        public IPageFlow GetPageFlow(Guid instanceId)
        {
            return Instance;
        }

        public ProcessResult ProcessRequest(string url)
        {
            throw new Exception("The method or operation is not implemented.");
        }       
    }
}
